package com.atguigu.guli.service.trade.feign;

import com.atguigu.guli.service.base.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("service-ucenter")
@RequestMapping("/api/ucenter/member")
public interface MemberFeign {
    @GetMapping("/order/{memberId}")
    R getMemberOrder(@PathVariable("memberId") String memberId);
}
